package com.ocr.OcrImage;

import java.io.File;

/**
 * Created by chenyuncong on 2019/6/26.
 */
public class Test {
    public static void main(String[] args) {
        try {

//            File testDataDir = new File("D:\\data\\orc");
//            System.out.println(testDataDir.listFiles().length);
//            int i = 0;
            for (int j=0; j<16; j++) {
//                i++;
                String recognizeText = new OCRHelper().recognizeText(new File("D:\\data\\orc\\code\\q" + j + ".png"));
                System.out.println("-> "+recognizeText + "\t");

            }

        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
